package com.web.service;

import com.web.dao.TechRecruitMapper;
import com.web.entity.Notice;
import com.web.entity.TechRecruit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author qh
 * @Date 2019-01-09
 * @description 企业招聘service
 */
@Service
public class TechRecruitService {

    @Resource
    private TechRecruitMapper techRecruitMapper;

    /**
     * 通过id获取招聘详情
     * @param id
     * @return
     */
    public TechRecruit getRecruit(Integer id) {
        return techRecruitMapper.getRecruit(id);
    }

}
